package cn.lg.soar.boot.fc.service;

import cn.lg.soar.boot.fc.entity.vo.RepairVo;
import cn.lg.soar.boot.fc.entity.vo.TenancyRoomVo;
import cn.lg.soar.common.model.HttpResult;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

public interface StatService {

    /**
     * 楼栋统计
     */
    @Transactional
    public HttpResult<Map<String, Object>> buildingStat();

    /**
     * 房间统计
     */
    @Transactional
    public HttpResult<Map<String, Object>> roomStat();

    /**
     * 收费统计
     */
    @Transactional
    public HttpResult<Map<String, Object>> financeStat();

    /**
     * 报修统计
     */
    @Transactional
    public HttpResult<Map<String, Object>> repairStat();

    /**
     * 最新报修
     */
    @Transactional
    public HttpResult<RepairVo> newRepair();

    /**
     * 基础数据统计
     */
    @Transactional
    public HttpResult<Map<String, Object>> baseDataStat();

    /**
     * 最新租房
     */
    @Transactional
    public HttpResult<TenancyRoomVo> newTenancyRoom();

    /**
     * 租房统计
     */
    @Transactional
    public HttpResult<Map<String, Object>> tenancyRoomStat();
}
